static-delta: Change `show` to display from/to commits
authorColin Walters <walters@verbum.org>
Sat, 16 Feb 2019 20:22:30 +0000 (20:22 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 11 Mar 2019 13:59:27 +0000 (13:59 +0000)
commit8d2e9b8f9e7a0bf112ace44a1b640b42c9d6b157
tree8475adb9352a7fefe664edfb905dc206a1ff934d
parent978cffed70640cca66cb1623dea68b179288b453
static-delta: Change `show` to display from/to commits

When writing a delta to a file this may not always be recorded
in the filename, and it's useful data.

Ref: https://mail.gnome.org/archives/ostree-list/2019-February/msg00000.html

This also required teaching `show` to accept a file path.

Note...for some reason `test-deltas.sh` breaks when run from
a tty - we get `SIGTTIN` which implies something is reading from
the tty but it wasn't obvious to me what.

Closes: #1823
Approved by: jlebon
src/libostree/ostree-repo-static-delta-core.c
tests/test-delta.sh